

export function useUrlBreaker() {
  const store = useStore()

  const aa = window.location.href.split("#/")[0];
  const bb = aa.split("/");
  const serviceType = bb[bb.length - 1]
    ? bb[bb.length - 1]
    : store.state.user.currentService;

  return {
    serviceType
  }
}
